﻿
@{
    ViewBag.Title = "Tuan";
    Layout = "~/Views/Shared/_HospitalAdminLayout.cshtml";
}

<script>
        $(document).ready(function () {
            $.ajax({
                url: '/Hospital/GetTuanOrderByHospital',
                type: 'post',
                success:function(d)
                {
                    $("#mytbody").empty();
                    $(d).each(function (i, obj) {
                        var d1 = '<tr><td>' + obj.Id + '</td><td>' + obj.Sonnum + '</td><td>' + obj.Yusuan + '</td><td>' + obj.Uname + '</td><td>' + obj.Utell + '</td><td>' + obj.Tdate + '</td><td>' + obj.Tstate + '</td><td>管理</td></tr>';
                        $("#mytbody").append(d1);
                    })
                }
            })
        })
</script>

<body>


    <div class="content">
        <div class="row">
            <div class="col-md-2">
                <div class="list-group">
                    <a href="#" class="list-group-item active">医院团检订单管理</a>
                </div>
            </div>

            <div class="col-md-10">
                <div class="page-header clearfix" style="padding:10px;">
                    <h4 class="pull-left">医院列表</h4>
                    <!--操作按钮-->
                    <div class="pull-right">
                        @*<a class="btn btn-success btn-sm" data-toggle="modal" data-target="#modal_add_hospital">添加医院管理员</a>*@
                    </div>
                </div>

                <!--内容区域-->
                @*<form id="user-search-form" class="form-inline well well-sm" action="/Exam/QueryExam" method="post" novalidate="">
                        <div class="form-group">
                            <input type="text" id="keyword" name="ExamName" class="form-control" value="" placeholder="添加相关词">
                        </div>
                        <button class="btn btn-primary" type="submit">搜索</button>
                    </form>*@

                <table id="user-table" class="table table-striped table-hover" data-search-form="#user-search-form">
                    <thead>
                        <tr>
                            <th>编号</th>
                            <th>人数</th>
                            <th>预算</th>
                            <th>预约人</th>
                            <th>电话</th>
                            <th>日期</th>
                            <th>状态</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody id="mytbody"></tbody>
                </table>

                <!--分页-->
                <nav class=" text-center">
                    <ul id="pagination" class="pagination-sm"></ul>
                </nav>
            </div>
        </div>
    </div>
</body>

